package com.iteaching.common;

import android.os.AsyncTask;
import android.os.Handler;

import com.baidu.mapapi.model.LatLng;
import com.iteaching.common.body.LoginResult;

public class LBSAsynTask extends AsyncTask<Object, Integer, Boolean>{

	
	private Handler mHandler;
	private LatLng ll;
	private LoginResult loginResult=null;
	@Override
	protected Boolean doInBackground(Object... params) {
		mHandler=(Handler) params[0];
		loginResult=(LoginResult) params[1];
		ll=(LatLng) params[2];
		LBSOperation lbsOperation=new LBSOperation(mHandler,loginResult,ll);
		lbsOperation.UpdateLBS();
		return true;
	}

}
